Summary:        A simple IRC client for X11
Name:           @PACKAGE@
Version:        @VERSION@
Release:        1
License:        GPL
Group:          Applications/Communications
Source:         http://prdownloads.sourceforge.net/lostirc/lostirc-@VERSION@.tar.gz
URL:            http://lostirc.sourceforge.net/
BuildRoot:      /var/tmp/%{name}-%{version}-root
AutoReqProv:    no

Requires:       gtkmm >= 2.10.0
Requires:       libsigc++ >= 1.2.0

BuildRequires:  gtkmm-devel
BuildRequires:  libsigc++-devel

%description
LostIRC is a simple IRC client for X11. The goals of the first stable versions
is to be relatively simple and keyboard controlled.

%prep
%setup

%build
%configure --bindir=%{_bindir} --libdir=%{_libdir} --mandir=%{_mandir} \
           --datadir=%{_datadir} --sysconfdir=%{_sysconfdir}

make

%install
rm -rf $RPM_BUILD_ROOT

# If the configure macro is used above (which it is), there
# is NO reason to use the makeinstall macro here, so don't.
make DESTDIR=$RPM_BUILD_ROOT install

%post

%postun

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README
%{_bindir}/%{name}
%{_datadir}/gnome/apps/Internet/%{name}.desktop
